# -*- encoding:utf-8 -*-
# !/usr/bin/env python
'''
    python-0802-02.py
    ======================
    @descript: 修改元组
    @copyright:nnz
    @author:dln
    @date: 2021/8/2 19:58
    @version:v1.0
'''
#对元组元素进行排序
v_tuple01=(1,3,5,6,7,8)
v_tuple02=sorted(v_tuple01)
print(v_tuple02)
#对元素进行逆转（逆转对类型没有要求）
v_tuple03=reversed(v_tuple02)
print('逆转后的元素为：',tuple(v_tuple03))
